from django_filters.filterset import FilterSet
from django_filters import filters
from . import models
class CourseFilterSet(FilterSet):
    max_find = filters.NumberFilter(field_name='cumulative_clicks', lookup_expr='endswith')
    class Meta:
        model = models.Share_Content
        fields = ['department']